package com.xhh.nphm.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

@TableName("appealCate")
public class AppealCate implements Serializable {
    @TableField("CodePK")
    private String codepk;
    @TableField("CodeParent")
    private String codeparent;
    @TableField("CodePK")
    private Integer layernum;
    @TableField("EndFlag")
    private Integer endflag;
    @TableField("SortName")
    private String sortname;
    @TableField("OrdNum")
    private Integer ordnum;
    @TableField("UseFlag")
    private Integer useflag;
    @TableField("ProgramCode")
    private String programcode;
    @TableField("Remark")
    private String remark;
    @TableLogic
    @TableField("IsDel")
    private Integer isdel;
    @TableField("BringTime")
    private Date bringtime;
    @TableField("FlagInt")
    private Integer flagint;
    @TableField("FlagString")
    private String flagstring;
    @TableField("FKInt")
    private Integer fkint;
    @TableField("FKString")
    private String fkstring;
    @TableField(exist = false)
    private String state;

    public AppealCate(String codepk, String codeparent, Integer layernum, Integer endflag, String sortname, Integer ordnum, Integer useflag, String programcode, String remark, Integer isdel, Date bringtime, Integer flagint, String flagstring, Integer fkint, String fkstring) {
        this.codepk = codepk;
        this.codeparent = codeparent;
        this.layernum = layernum;
        this.endflag = endflag;
        this.sortname = sortname;
        this.ordnum = ordnum;
        this.useflag = useflag;
        this.programcode = programcode;
        this.remark = remark;
        this.isdel = isdel;
        this.bringtime = bringtime;
        this.flagint = flagint;
        this.flagstring = flagstring;
        this.fkint = fkint;
        this.fkstring = fkstring;
    }

    public AppealCate() {
        super();
    }

    public String getCodepk() {
        return codepk;
    }

    public void setCodepk(String codepk) {
        this.codepk = codepk == null ? null : codepk.trim();
    }

    public String getCodeparent() {
        return codeparent;
    }

    public void setCodeparent(String codeparent) {
        this.codeparent = codeparent == null ? null : codeparent.trim();
    }

    public Integer getLayernum() {
        return layernum;
    }

    public void setLayernum(Integer layernum) {
        this.layernum = layernum;
    }

    public Integer getEndflag() {
        return endflag;
    }

    public void setEndflag(Integer endflag) {
        this.endflag = endflag;
    }

    public String getSortname() {
        return sortname;
    }

    public void setSortname(String sortname) {
        this.sortname = sortname == null ? null : sortname.trim();
    }

    public Integer getOrdnum() {
        return ordnum;
    }

    public void setOrdnum(Integer ordnum) {
        this.ordnum = ordnum;
    }

    public Integer getUseflag() {
        return useflag;
    }

    public void setUseflag(Integer useflag) {
        this.useflag = useflag;
    }

    public String getProgramcode() {
        return programcode;
    }

    public void setProgramcode(String programcode) {
        this.programcode = programcode == null ? null : programcode.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }

    public Date getBringtime() {
        return bringtime;
    }

    public void setBringtime(Date bringtime) {
        this.bringtime = bringtime;
    }

    public Integer getFlagint() {
        return flagint;
    }

    public void setFlagint(Integer flagint) {
        this.flagint = flagint;
    }

    public String getFlagstring() {
        return flagstring;
    }

    public void setFlagstring(String flagstring) {
        this.flagstring = flagstring == null ? null : flagstring.trim();
    }

    public Integer getFkint() {
        return fkint;
    }

    public void setFkint(Integer fkint) {
        this.fkint = fkint;
    }

    public String getFkstring() {
        return fkstring;
    }

    public void setFkstring(String fkstring) {
        this.fkstring = fkstring == null ? null : fkstring.trim();
    }

    @Override
    public String toString() {
        return "AppealCate{" +
                "codepk='" + codepk + '\'' +
                ", codeparent='" + codeparent + '\'' +
                ", layernum=" + layernum +
                ", endflag=" + endflag +
                ", sortname='" + sortname + '\'' +
                ", ordnum=" + ordnum +
                ", useflag=" + useflag +
                ", programcode='" + programcode + '\'' +
                ", remark='" + remark + '\'' +
                ", isdel=" + isdel +
                ", bringtime=" + bringtime +
                ", flagint=" + flagint +
                ", flagstring='" + flagstring + '\'' +
                ", fkint=" + fkint +
                ", fkstring='" + fkstring + '\'' +
                '}';
    }
}